std::type_info
From Cppreference
| C++ Standard Library | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||
| Utilities library | ||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||
| Template:cpp/utility/rtti/type info/sidebar heading | ||||||||||||||||||||||||||||||||||||||||||
| Template:cpp/utility/rtti/type info/sidebar content | ||||||||||||||||||||||||||||||||||||||||||
| Defined in header
<type_info> | ||
| class type_info;
| ||
The class type_info describes type information of a type, generated by the implementation. This is the class, returned by the typeid operator.
The type_info class is noncopyable.
Member functions | |||
| (constructor) [deleted] | has neither default nor copy constructors (public member function) | ||
| operator= [deleted] | can not be copy-assigned (public member function) | ||
| checks whether the objects refer to the same type (public member function) | ||
| checks whether the referred type precedes another type in the implementation's collation order (public member function) | ||
| returns a value which is the identical for the same types (public member function) | ||
| implementation defined name of the type (public member function) | ||